{
  "job": {
    "setting": {
      "speed": {
        "channel": 1
      },
      "errorLimit": {
        "record": 0,
        "percentage": 0.02
      }
    },
    "content": [
      {
        "reader": {
          "name": "mysqlreader",
          "parameter": {
            "username": "root",
            "password": "123456",
            "column": [
              "`shop_id`",
              "`shop_name`",
              "`category`",
              "`seller_id`",
              "`create_time`",
              "`status`",
              "`address`"
            ],
            "where": "1=1",
            "splitPk": "",
            "connection": [
              {
                "table": [
                  "shop"
                ],
                "jdbcUrl": [
                  "jdbc:mysql://node101:3306/jtp_gd07_warehouse"
                ]
              }
            ]
          }
        },
        "writer": {
          "name": "hdfswriter",
          "parameter": {
            "defaultFS": "hdfs://node101:8020",
            "fileType": "orc",
            "path": "/user/hive/warehouse/jtp_gd07_warehouse/ods_tb_shop",
            "fileName": "shop",
            "writeMode": "truncate",
            "fieldDelimiter": "\t",
            "column": [
              {
                "name": "shop_id",
                "type": "string"
              },
              {
                "name": "shop_name",
                "type": "string"
              },
              {
                "name": "category",
                "type": "string"
              },
              {
                "name": "seller_id",
                "type": "string"
              },
              {
                "name": "create_time",
                "type": "timestamp"
              },
              {
                "name": "status",
                "type": "int"
              },
              {
                "name": "address",
                "type": "string"
              }
            ]
          }
        }
      }
    ]
  }
}